
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module pychess.Players.Player</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="pychess.html"><font color="#ffffff">pychess</font></a>.<a href="pychess.Players.html"><font color="#ffffff">Players</font></a>.Player</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/thomas/Programmering/python/skak/svn/lib/pychess/Players/Player.py">/home/thomas/Programmering/python/skak/svn/lib/pychess/Players/Player.py</a></font></td></tr></table>
    <p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="gobject.html#GObject">gobject.GObject</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="pychess.Players.Player.html#Player">Player</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Player">class <strong>Player</strong></a>(<a href="gobject.html#GObject">gobject.GObject</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="pychess.Players.Player.html#Player">Player</a></dd>
<dd><a href="gobject.html#GObject">gobject.GObject</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Player-__del__"><strong>__del__</strong></a>(self)</dt><dd><tt>Called&nbsp;in&nbsp;the&nbsp;end&nbsp;of&nbsp;the&nbsp;game,&nbsp;or&nbsp;when&nbsp;the&nbsp;engines&nbsp;is&nbsp;otherwise&nbsp;ment&nbsp;to&nbsp;die.<br>
Use&nbsp;for&nbsp;closing&nbsp;connections&nbsp;etc.</tt></dd></dl>

<dl><dt><a name="Player-hurry"><strong>hurry</strong></a>(self)</dt><dd><tt>Forces&nbsp;engines&nbsp;to&nbsp;move&nbsp;now,&nbsp;and&nbsp;sends&nbsp;a&nbsp;hurry&nbsp;message&nbsp;to&nbsp;nonlocal&nbsp;human&nbsp;players</tt></dd></dl>

<dl><dt><a name="Player-makeMove"><strong>makeMove</strong></a>(self, history)</dt><dd><tt>Takes&nbsp;a&nbsp;history&nbsp;object,&nbsp;concidering&nbsp;the&nbsp;last&nbsp;move&nbsp;as&nbsp;an&nbsp;opponent&nbsp;move,<br>
and&nbsp;returns&nbsp;a&nbsp;new&nbsp;moveobject&nbsp;with&nbsp;the&nbsp;players&nbsp;answer.</tt></dd></dl>

<dl><dt><a name="Player-offerDraw"><strong>offerDraw</strong></a>(self)</dt><dd><tt>Offers&nbsp;the&nbsp;player&nbsp;a&nbsp;draw.&nbsp;Should&nbsp;respond&nbsp;emiting&nbsp;a&nbsp;DRAW_ACCEPTION,<br>
or&nbsp;simply&nbsp;do&nbsp;nothing</tt></dd></dl>

<dl><dt><a name="Player-setName"><strong>setName</strong></a>(self, name)</dt></dl>

<dl><dt><a name="Player-showBoard"><strong>showBoard</strong></a>(self)</dt><dd><tt>Print&nbsp;the&nbsp;board&nbsp;as&nbsp;it&nbsp;the&nbsp;players&nbsp;sees&nbsp;it,&nbsp;e.g.&nbsp;in&nbsp;fen.&nbsp;Used&nbsp;for&nbsp;debugging&nbsp;only</tt></dd></dl>

<dl><dt><a name="Player-updateTime"><strong>updateTime</strong></a>(self, secs, opsecs)</dt><dd><tt>Updates&nbsp;the&nbsp;player&nbsp;with&nbsp;the&nbsp;current&nbsp;remaining&nbsp;time&nbsp;as&nbsp;a&nbsp;float&nbsp;of&nbsp;seconds</tt></dd></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__gtype__</strong> = &lt;GType pychess+Players+Player+Player (156622032)&gt;</dl>

<hr>
Methods inherited from <a href="gobject.html#GObject">gobject.GObject</a>:<br>
<dl><dt><a name="Player-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#Player-__cmp__">__cmp__</a>(y)&nbsp;&lt;==&gt;&nbsp;cmp(x,y)</tt></dd></dl>

<dl><dt><a name="Player-__gobject_init__"><strong>__gobject_init__</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#Player-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>

<dl><dt><a name="Player-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Player-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>

<dl><dt><a name="Player-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Player-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="Player-chain"><strong>chain</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-connect"><strong>connect</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-connect_after"><strong>connect_after</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-connect_object"><strong>connect_object</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-connect_object_after"><strong>connect_object_after</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-disconnect"><strong>disconnect</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-disconnect_by_func"><strong>disconnect_by_func</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-emit"><strong>emit</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-emit_stop_by_name"><strong>emit_stop_by_name</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-freeze_notify"><strong>freeze_notify</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-get_data"><strong>get_data</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-get_property"><strong>get_property</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-handler_block"><strong>handler_block</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-handler_block_by_func"><strong>handler_block_by_func</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-handler_disconnect"><strong>handler_disconnect</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-handler_is_connected"><strong>handler_is_connected</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-handler_unblock"><strong>handler_unblock</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-handler_unblock_by_func"><strong>handler_unblock_by_func</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-notify"><strong>notify</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-set_data"><strong>set_data</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-set_property"><strong>set_property</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-stop_emission"><strong>stop_emission</strong></a>(...)</dt></dl>

<dl><dt><a name="Player-thaw_notify"><strong>thaw_notify</strong></a>(...)</dt></dl>

<hr>
Data and other attributes inherited from <a href="gobject.html#GObject">gobject.GObject</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;</dl>

<dl><dt><strong>__gdoc__</strong> = 'Object pychess+Players+Player+Player<font color="#c040c0">\n\n</font>Signals fr...ead ()<font color="#c040c0">\n\n</font>Signals from GObject:<font color="#c040c0">\n</font>  notify (GParam)<font color="#c040c0">\n\n</font>'</dl>

<dl><dt><strong>__grefcount__</strong> = &lt;attribute '__grefcount__' of 'gobject.GObject' objects&gt;</dl>

<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of GObjectMeta object&gt;<dd><tt>T.<a href="#Player-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<dl><dt><strong>props</strong> = &lt;gobject.GProps object&gt;</dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>SIGNAL_RUN_FIRST</strong> = 1<br>
<strong>TYPE_NONE</strong> = &lt;GType void (4)&gt;</td></tr></table>
</body></html>